<template>
	<view class="content">
		<uni-nav-bar title="导航栏组件"></uni-nav-bar>

		<image class="logo" src="/static/logo.png"></image>
		<view class="text-area">
			<text class="title">{{title}}</text>
		</view>
		<view class="warp">
			<button class="button" type="primary">切换菜单方向</button>
		</view>
		<view class="content">
			123456

		<uni-pagination title="标题文字" total="20"></uni-pagination>
		<uni-pagination title="标题文字" show-icon="true" total="50" current="2"></uni-pagination>
		<view class="uni-list-cell uni-list-cell-pd">
			<switch checked />

		</view>
		
			<view class="box-bg">
				<uni-nav-bar shadow left-icon="left" right-icon="cart" title="标题" />
			</view>
	
		</uni-section>
	</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title: 'Hello'
			}
		},
		onLoad() {
			
		},
		methods: {

		}
	}
</script>

<style>
	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.logo {
		height: 200rpx;
		width: 200rpx;
		margin-top: 200rpx;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 50rpx;
	}

	.text-area {
		display: flex;
		justify-content: center;
	}

	.title {
		font-size: 36rpx;
		color: #8f8f94;
	}
</style>
